package com.chuangshi.core.vote.admin.controller.admin.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 管理员信息管理端V1获取单条的接收参数
 *
 * @author ggliming
 * @date 2019-02-21
 */
@ApiModel(description = "管理员信息管理端V1获取单条的接收参数")
public class AdminAdminV1FindRequest extends Request {

    @ApiModelProperty(value = "管理员编号", required = true, position = 10)
    @NotNull(message = "管理员编号不能为空")
    @Length(max = 32, message = "管理员编号长度超出限制")
    private String adminId;

    public String getAdminId() {
        return adminId;
    }

    public void setAdminId(String adminId) {
        this.adminId = adminId;
    }

}